package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfGoodsImageDao;
import com.wfcm.entity.WfGoodsImageEntity;
import com.wfcm.service.WfGoodsImageService;



@Service("wfGoodsImageService")
public class WfGoodsImageServiceImpl implements WfGoodsImageService {
	@Autowired
	private WfGoodsImageDao wfGoodsImageDao;
	
	@Override
	public WfGoodsImageEntity queryObject(Integer id){
		return wfGoodsImageDao.queryObject(id);
	}
	
	@Override
	public List<WfGoodsImageEntity> queryList(Map<String, Object> map){
		return wfGoodsImageDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfGoodsImageDao.queryTotal(map);
	}
	
	@Override
	public void save(WfGoodsImageEntity wfGoodsImage){
		wfGoodsImageDao.save(wfGoodsImage);
	}
	
	@Override
	public void update(WfGoodsImageEntity wfGoodsImage){
		wfGoodsImageDao.update(wfGoodsImage);
	}
	
	@Override
	public void delete(Integer id){
		wfGoodsImageDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfGoodsImageDao.deleteBatch(ids);
	}
	
}
